package com.vdongchina.miniapp.http.dto;

import com.fasterxml.jackson.annotation.JsonAlias;
import lombok.Data;

import java.io.Serializable;

/**
 * Copyright (C)
 * FileName: QuerySettleResp
 * Author:   maokai
 * Date:     2021/8/12 16:30
 * Description:
 */
@Data
public class QuerySettleResp extends ServiceResp {
    @JsonAlias(value = "settle_info")
    private SettleInfo settleInfo;

    @Data
    public static class SettleInfo implements Serializable {
        /**
         * 担保支付侧的分账单号
         */
        @JsonAlias(value = "settle_no")
        private String settleNo;
        /**
         * 分账金额，单位[分]
         */
        @JsonAlias(value = "settle_amount")
        private int settleAmount;
        /**
         * 分账状态，成功-SUCCESS；失败-FAIL
         */
        @JsonAlias(value = "settle_status")
        private String settleStatus;

    }
}
